dart convert int string leading zeros

107

void main() {
 print(123.toString().padLeft(10, '0'));
}

Comments

Submit
0 Comments